package com.qmctl.rest.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.qmctl.rest.bean.returnorder.ReturnOrderClazz;
@Entity
@Table(name="tReturnOrderHandleInfo",schema="")
public class ReturnOrderHandleInfo{
  @Id
  private String returnOrderId;
  private String returnOrderCode;
  private String warehouseCode;
  private String orderType;
  private String orderFlag;
  private String preDeliveryOrderCode;
  private String preDeliveryOrderId;
  private String orderConfirmTime;
  private String logisticsCode;
  private String logisticsName;
  private String expressCode;
  private String returnReason;
  private String buyerNick;
  private String senderId;
  private String receiverId;
  private String sendflag;
  private String destination;
  public ReturnOrderHandleInfo(){
  }
  
  public ReturnOrderHandleInfo(ReturnOrderClazz BeanClazz){
    returnOrderCode = BeanClazz.getReturnOrderCode();
 	warehouseCode = BeanClazz.getWarehouseCode();
	orderType = BeanClazz.getOrderType();
	orderFlag = BeanClazz.getOrderFlag();   // status = BeanClazz.getStatus();
	preDeliveryOrderCode = BeanClazz.getPreDeliveryOrderCode();
	preDeliveryOrderId = BeanClazz.getPreDeliveryOrderId();
    expressCode = BeanClazz.getExpressCode();
    orderConfirmTime = "";
    logisticsCode = BeanClazz.getLogisticsCode();
    logisticsName = BeanClazz.getLogisticsName();
    expressCode = BeanClazz.getExpressCode();
    returnReason = BeanClazz.getReturnReason();
	   // senderId = BeanClazz.getSenderId();
	   // receiverId = BeanClazz.getReceiverId();
    buyerNick = BeanClazz.getBuyerNick();
  }
  public String getReturnOrderId(){
    return returnOrderId;
  }
  public void setReturnOrderId(String sReturnOrderId){
    returnOrderId = sReturnOrderId;
  }
  public String getReturnOrderCode(){
    return returnOrderCode;
  }
  public void setReturnOrderCode(String sReturnOrderCode){
    returnOrderCode = sReturnOrderCode;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getOrderType(){
    return orderType;
  }
  public void setOrderType(String sOrderType){
    orderType = sOrderType;
  }
  public String getOrderFlag(){
    return orderFlag;
  }
  public void setOrderFlag(String sOrderFlag){
    orderFlag = sOrderFlag;
  }
  public String getPreDeliveryOrderCode(){
    return preDeliveryOrderCode;
  }
  public void setPreDeliveryOrderCode(String sPreDeliveryOrderCode){
    preDeliveryOrderCode = sPreDeliveryOrderCode;
  }
  public String getPreDeliveryOrderId(){
    return preDeliveryOrderId;
  }
  public void setPreDeliveryOrderId(String sPreDeliveryOrderId){
    preDeliveryOrderId = sPreDeliveryOrderId;
  }
  public String getOrderConfirmTime(){
    return orderConfirmTime;
  }
  public void setOrderConfirmTime(String sOrderConfirmTime){
    orderConfirmTime = sOrderConfirmTime;
  }
  public String getLogisticsCode(){
    return logisticsCode;
  }
  public void setLogisticsCode(String sLogisticsCode){
    logisticsCode = sLogisticsCode;
  }
  public String getLogisticsName(){
    return logisticsName;
  }
  public void setLogisticsName(String sLogisticsName){
    logisticsName = sLogisticsName;
  }
  public String getExpressCode(){
    return expressCode;
  }
  public void setExpressCode(String sExpressCode){
    expressCode = sExpressCode;
  }
  public String getReturnReason(){
    return returnReason;
  }
  public void setReturnReason(String sReturnReason){
    returnReason = sReturnReason;
  }
  public String getBuyerNick(){
    return buyerNick;
  }
  public void setBuyerNick(String sBuyerNick){
    buyerNick = sBuyerNick;
  }
  public String getSenderId(){
    return senderId;
  }
  public void setSenderId(String sSenderId){
    senderId = sSenderId;
  }
  public String getReceiverId(){
    return receiverId;
  }
  public void setReceiverId(String sReceiverId){
    receiverId = sReceiverId;
  }
  public String getSendflag(){
    return sendflag;
  }
  public void setSendflag(String sSendflag){
    sendflag = sSendflag;
  }
  public String getDestination(){
    return destination;
  }
  public void setDestination(String sDestination){
    destination = sDestination;
  }
}
